// users.js
const express = require("express");
const router = express.Router();
const User = require("../api/user");

router.post("/register", User.register);
router.post("/login", User.login);
router.post("/userInfo", User.userInfo);
router.post("/updateInfo", User.updateInfo);
router.post("/deleteUser", User.deleteUser);
router.post("/wxlogin", User.wxlogin);
module.exports = router;
